/**
 * 
 */
/**
 * @author dasheng
 * terminal_info 终端信息参数     支付方式为：WECHAT_MICROPAY该字段必填
 */
package com.ruoyi.door.utils.baofu.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class TerminalInfoEntity{	
	String location;
	String network_license;
	String device_type;
	String serial_num;
	String terminal_id;////终端设备的硬件序列号---支付宝，
	String device_id;///-终端设备号----微信，
	String encrypt_rand_num;
	String secret_text;
	String app_version;
	String device_ip;
	String mobile_country_cd;
	String mobile_net_num;
	String icc_id;
	String location_cd1;
	String lbs_num1;
	String lbs_signal1;
	String location_cd2;
	String lbs_num2;
	String lbs_signal2;
	String location_cd3;
	String lbs_num3;
	String lbs_signal3;
	String telecom_sys_id;
	String telecom_net_id;
	String telecom_lbs;
	String telecom_lbs_signal;
	
	public TerminalInfoEntity(String payCode,String Deviceid){

		if(payCode.startsWith("WECHAT")){
			this.device_id= Deviceid;///-终端设备号
		}else if(payCode.startsWith("ALIPAY")){
			this.terminal_id=Deviceid;
		}
	}
}